//
//  ANNormalCell.m
//  AttitudeNews
//
//  Created by 刘晓萌 on 15/11/23.
//  Copyright © 2015年 刘晓萌. All rights reserved.
//

#import "ANNormalCell.h"
#import "ANNewsModel.h"
#import "UIImageView+WebCache.h"
@interface ANNormalCell ()

@property (weak, nonatomic) IBOutlet UIImageView *newsPic;
@property (weak, nonatomic) IBOutlet UILabel *newsTitle;
@property (weak, nonatomic) IBOutlet UILabel *newsInfo;

@end

@implementation ANNormalCell

/**
 * 处理model传来的值
 */
-(void)makeData{
    [self.newsPic sd_setImageWithURL:[NSURL URLWithString:self.newsModel.imgsrc]];
    self.newsTitle.text = self.newsModel.title_lxm;
    self.newsInfo.text = self.newsModel.digest;
}

- (void)awakeFromNib {
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
